package com.doodle.common.utils;

public class GTRect {

    public int top;
    public int left;
    public int width;
    public int height;

    public boolean containsPoint(GTPoint p) {
        return top <= p.y && top + height > p.y && left <= p.x
                && left + width > p.x;
    }
}
